﻿using IntelligentStorWpfApp.Model;
using System.Data;

namespace IntelligentStorWpfApp.Interface
{
    public interface ProductInterface
    {
        bool AddProduct(ProductInfo productInfo);
        DataTable GetProducts(ProductInfo productInfo);
        bool DeleteProduct(int Id);
        bool UpdateProduct(ProductInfo productInfo);
        DataTable GetProductsByUser(string userName);
        bool linkProductPosition(string productId,int positionId);
        DataTable checkLink(int Id);
        bool GetProductByPId(string pId);

        DataTable getAllonlyProducts();
        DataTable getProductsByStatus(string state);

        DataTable GetAllStatus();
    }
}
